package show.lmm.webflux.handler.method.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import show.lmm.webflux.handler.method.core.annotation.NotNeedLogin;

@RestController("/")
public class IndexController {

    @NotNeedLogin
    @GetMapping("/login")
    public String login(){
        return "login";
    }

    @GetMapping("/index")
    public String index(){
        return "index";
    }
}
